			
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using DDF.Entity;
using System.Runtime.Serialization;
using ARR.Entities.Gateways;
		
namespace ARR.Entities
{
	[DataContract]
	[Serializable]	
	public partial class Country : EntityBase
	{
		[DataMember]
		private CountryRow row;
		
		public Country(CountryRow row)
		{
			this.row = row;
		}
		
		public Country()
		{
			this.row = new CountryRow();
		}
		
		[DataMember]
		public int Id
		{
			get { return row.Id; }
			set { row.Id = value; }
		}

		[DataMember]
		public string Code
		{
			get { return row.Code; }
			set { row.Code = value; }
		}

		[DataMember]
		public string Name
		{
			get { return row.Name; }
			set { row.Name = value; }
		}

		[DataMember]
		public string CurrencyName
		{
			get { return row.CurrencyName; }
			set { row.CurrencyName = value; }
		}

		[DataMember]
		public string CurrencyISOCode
		{
			get { return row.CurrencyISOCode; }
			set { row.CurrencyISOCode = value; }
		}

		[DataMember]
		public string CurrencySymbol
		{
			get { return row.CurrencySymbol; }
			set { row.CurrencySymbol = value; }
		}

		[DataMember]
		public string Convention
		{
			get { return row.Convention; }
			set { row.Convention = value; }
		}

		[DataMember]
		public decimal? TaxRate
		{
			get { return row.TaxRate; }
			set { row.TaxRate = value; }
		}

		[DataMember]
		public bool IsVATIncluded
		{
			get { return row.IsVATIncluded; }
			set { row.IsVATIncluded = value; }
		}

		[DataMember]
		public bool IsVATGeneral
		{
			get { return row.IsVATGeneral; }
			set { row.IsVATGeneral = value; }
		}

		[DataMember]
		public string ArticlesImporter
		{
			get { return row.ArticlesImporter; }
			set { row.ArticlesImporter = value; }
		}

		[DataMember]
		public string StoresImporter
		{
			get { return row.StoresImporter; }
			set { row.StoresImporter = value; }
		}

		[DataMember]
		public string SalesImporter
		{
			get { return row.SalesImporter; }
			set { row.SalesImporter = value; }
		}

		[DataMember]
		public string InventoryImporter
		{
			get { return row.InventoryImporter; }
			set { row.InventoryImporter = value; }
		}

		[DataMember]
		public string PIDifferencesImporter
		{
			get { return row.PIDifferencesImporter; }
			set { row.PIDifferencesImporter = value; }
		}

		[DataMember]
		public string SpacesImporter
		{
			get { return row.SpacesImporter; }
			set { row.SpacesImporter = value; }
		}

		[DataMember]
		public bool IsArticleMasterSeparateFile
		{
			get { return row.IsArticleMasterSeparateFile; }
			set { row.IsArticleMasterSeparateFile = value; }
		}

		[DataMember]
		public bool IsStoreMasterSeparateFile
		{
			get { return row.IsStoreMasterSeparateFile; }
			set { row.IsStoreMasterSeparateFile = value; }
		}

		[DataMember]
		public bool DailySales
		{
			get { return row.DailySales; }
			set { row.DailySales = value; }
		}

		
		public CountryRow GetRow()
        {
            return row;
        }
		
	} 
} 
